import { Router } from 'express';
import operLogRoutes from './operLog.routes';
import loginInfoRoutes from './loginInfo.routes';
import onlineRoutes from './online.routes';
import serverRoutes from './server.routes';
import jobRoutes from './job.routes';
import jobLogRoutes from './jobLog.routes';
import cacheRoutes from './cache.routes';

const router = Router();

// 操作日志路由
router.use('/operlog', operLogRoutes);

// 登录日志路由
router.use('/logininfor', loginInfoRoutes);

// 在线用户路由
router.use('/online', onlineRoutes);

// 服务器监控路由
router.use('/server', serverRoutes);

// 定时任务路由
router.use('/job', jobRoutes);

// 定时任务日志路由
router.use('/jobLog', jobLogRoutes);

// 缓存监控路由
router.use('/cache', cacheRoutes);

export default router; 